#ifndef _Client_Connect_H
#define	_Client_Connect_H

#include <arpa/inet.h>
// base class
#include "../base/Server_Base.h"
// sockaddr_in..
#include <netinet/in.h>
// http util
#include "../../util/http/HTTP_Util.cpp"


class Client_Connect : public Server_Base {
    
    public:
        int client_init();
        int client_connect();
        int client_send();
        
        
        Client_Connect();
        Client_Connect(int a_nClient_socket_fd);
        
        int HTTP_Package(char* a_result, char* a_data);
        
    
    private:
        struct sockaddr_in *server_addr;
        socklen_t server_addr_len;
        int client_socket_fd;
        HTTP_Util<int>* httpUtil;
        
};

#endif	/* _Client_Connect_H */